Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 8 Forum

Notes/Domino 8 Forum

Previous Next
Subject: Working with Lotus Notes com-object
Feedback Type: Question
Product Area: Notes 8 Client
Technical Area: Functionality
Platform: Windows Vista client
Release: All
Reproducible: Unknown

Hello. I would like to ask how could I work with LN using com-object via PowerShell.

Right now I came up with:
$LotusSession = New-Object -ComObject Lotus.NotesSession
$LotusSession.Initialize("mypass")
$LotusDatabase = $LotusSession.GetDatabase("srv","mail\my.nsf")
Write-Host -ForegroundColor Green "Database open : " $LotusDatabase.Title
$LotusFolder = $LotusDatabase.GetView('folder\subfolder\subsubfolder')

$NotesDate = $LotusSession.CreateDateTime("2015-01-01")$Query = "@Contains( Subject; ""mytest"" )"
$LotusDocuments = $LotusDatabase.Search($Query, $NotesDate, 0)

Thing is: I would like to move items between folders (views) and also mark them as read/unread. I couldn't find any methods in com-object those do this.


Feedback number WEBB9T2D65 created by ~Kirk Prefreekonyoni on 01/23/2015

Status: Open
Comments:

Working with Lotus Notes com-object... (~Kirk Prefreeko... 23.Jan.15)
. . putInFolder (~Fritz Ekfoober... 23.Jan.15)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS